In linux , the write system call is used to write data to the pipe 在linux中,可以使用write ( )系統調用向管道中寫入數據,其中fd是管道寫端的句柄:
The data transmission rate is effectively increased by using data packet as i / o read and write system call functions " parameter 本文通過將數據包作為i o讀寫系統調用函數的參數有效地提高了數據傳輸率。
We intercept and capture the read and write system calls via putting the nvram on the request queue . then observing the capacity of the " dirty " data , we redirect the writing direction to the hard disk while detecting the proportion of the " dirty " data exceeds the limit 通過文件系統對數據讀寫操作流程的分析,在系統的request隊列中將其讀寫的對象置換為nvram ,從而實現數據讀寫的截取和轉向,然后對nvram的臟數據容量進行檢測,當其到達nvram容量的一定比例后,調用相應的程序把臟數據對外設回寫。